from random import uniform

class CSynapsis(object):
    
    def __init__(self,  matrix=[]):
        self.matrix = matrix
        
    def shakeMatrix(self,  inputs,  columns):
        #will be a matrix (inputs x columns)
        self.matrix = []
        for r in range(0,  inputs):
            row = []
            for c in range(0,  columns):
                row.append(uniform(-1, 1))
            self.matrix.append(row)
        
    
       
        
